package com.xmall.msg.base;

public enum MsgSourceType {

    COMMON("common", 0), ORDER("order", 1), PRODUCT("product", 2), SYS("sys", 3);

    private String name;

    private Integer id;

    MsgSourceType(String name, Integer id) {
        this.name = name;
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public Integer getId() {
        return id;
    }
}
